package com.vteba.shards.schema.bean;

import com.vteba.shards.schema.model.SchemaInfo;

public class JsonBean {
	private int code = 1; // 错误代码，1表示正常，其他自定义。为1时，message为空
	private String message;// 错误信息，code非1时，message才有值
	private SchemaInfo schemaInfo;// 返回的SchemaInfo数据

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public SchemaInfo getSchemaInfo() {
		return schemaInfo;
	}

	public void setSchemaInfo(SchemaInfo schemaInfo) {
		this.schemaInfo = schemaInfo;
	}

}
